home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / reiser4 / factory.h < prev    next >
C/C++ Source or Header  |  2006-01-09  |  793b  |  30 lines

  1. /* Copyright (C) 2001, 2002, 2003, 2004 by Hans Reiser, licensing governed by
  2.    reiser4progs/COPYING.
  3.    
  4.    factory.h -- plugin factory header file. */
  5.  
  6. #ifndef REISER4_FACTORY_H
  7. #define REISER4_FACTORY_H
  8.  
  9. #include <reiser4/types.h>
  10.  
  11. extern void reiser4_factory_fini(void);
  12. extern errno_t reiser4_factory_init(void);
  13.  
  14. #ifndef ENABLE_MINIMAL
  15. extern reiser4_plug_t *reiser4_factory_nfind(char *name);
  16. #endif
  17.  
  18. extern errno_t reiser4_factory_foreach(plug_func_t plug_func,
  19.                        void *data);
  20.  
  21. extern errno_t reiser4_factory_unload(reiser4_plug_t *plug);
  22. extern reiser4_plug_t * reiser4_factory_load(plug_class_t *class);
  23.  
  24. extern reiser4_plug_t *reiser4_factory_ifind(rid_t type, rid_t id);
  25.  
  26. extern reiser4_plug_t *reiser4_factory_cfind(plug_func_t plug_func,
  27.                          void *data);
  28. #endif
  29.  
  30.